def my_jwt_response_payload_handler(token, user, request):
    return {
        'code': 200,
        'token': token,
        'username': user.username,
        'userRole': user.is_staff
    }
